package cn.t.enums.device;

import cn.t.core.enums.Enumer;
import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author l
 */
@Enumer
@Getter
@AllArgsConstructor
public enum ConfigValueTypeEnum implements CommonEnum<String, String> {

    BOOLEAN("boolean", "boolean"),
    INT("int", "int"),
    STRING("string", "string");

    @JsonValue
    @EnumValue
    private final String code;
    private final String name;
}